package Demo2;

public class Student {
        //属性：学号、姓名、性别、密码
        String stuNo;
        String stuName;
        private String password;
        char gender;
        //选课
        public boolean selectCourse(Course coo,int currentSelectCourseNum){
            if(currentSelectCourseNum<coo.selectCourseMaxNum){
                return true;
            }
            return false;
        }
        //查看自己的信息
        public void displayStudentInfo(){
            System.out.println("学号："+stuNo+",姓名"+stuName+",性别"+gender);
        }

}
